package factorymethod.impl.factory;
import factorymethod.impl.product.CandyProduct;
import factorymethod.impl.product.Product;


public class CandyFactory extends Factory {

	@Override
	public Product factoryMethod() {
		
		 return new CandyProduct("CandyFactory.factoryMethod：糖果");
	}

	/* (non-Javadoc)
	 * @see Factory#factoryMethod(java.lang.Class)
	 */
	@Override
	public Product factoryMethod(Class<? extends Product> c) {
		return null;
	}

}
